﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _13_Console
{
    internal abstract class Animal
    {
        public string Name { get; set; }
        public int Age { get; set; }
        public string Color { get; set; }
        public Animal() { }
        public Animal(string name, int age, string color)
        {
            Name = name;
            Age = age;
            Color = color;
        }
        public virtual void Roar()
        {
            Console.WriteLine("动物在叫");
        }
        public abstract void Run();
    }
}
